package cn.jyszn.wxb.model;

public class UserInfo {
    private Integer id;

    private String username;

    private String password;

    private Integer treeLevel;

    private Integer leftNum;

    private Integer rightNum;

    private Long phone;

    private String cid;

    private Long createTime;

    private Integer parentId;

    private Short status;

    private String belongCode;

    public UserInfo() {

    }

    public UserInfo(String username, String password, Integer treeLevel, Integer leftNum, Integer rightNum, Long phone, String cid, Long createTime, Integer parentId, Short status, String belongCode) {
        this.username = username;
        this.password = password;
        this.treeLevel = treeLevel;
        this.leftNum = leftNum;
        this.rightNum = rightNum;
        this.phone = phone;
        this.cid = cid;
        this.createTime = createTime;
        this.parentId = parentId;
        this.status = status;
        this.belongCode = belongCode;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Integer getTreeLevel() {
        return treeLevel;
    }

    public void setTreeLevel(Integer treeLevel) {
        this.treeLevel = treeLevel;
    }

    public Integer getLeftNum() {
        return leftNum;
    }

    public void setLeftNum(Integer leftNum) {
        this.leftNum = leftNum;
    }

    public Integer getRightNum() {
        return rightNum;
    }

    public void setRightNum(Integer rightNum) {
        this.rightNum = rightNum;
    }

    public Long getPhone() {
        return phone;
    }

    public void setPhone(Long phone) {
        this.phone = phone;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid == null ? null : cid.trim();
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Short getStatus() {
        return status;
    }

    public void setStatus(Short status) {
        this.status = status;
    }

    public String getBelongCode() {
        return belongCode;
    }

    public void setBelongCode(String belongCode) {
        this.belongCode = belongCode == null ? null : belongCode.trim();
    }

    @Override
    public String toString() {
        return "UserInfo [id=" + id + ", username=" + username + ", password=" + password + ", treeLevel=" + treeLevel
                + ", leftNum=" + leftNum + ", rightNum=" + rightNum + ", phone=" + phone + ", cid=" + cid
                + ", createTime=" + createTime + ", parentId=" + parentId + ", status=" + status + ", belongCode="
                + belongCode + "]";
    }

}